package com.twinfo.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="c_course")
public class Course implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3853309010144642103L;

	private long id;
	private String CourseNo;
	private String CourseName;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	@Column(name="courseNo",length=12,nullable=true)
	public String getCourseNo() {
		return CourseNo;
	}
	public void setCourseNo(String courseNo) {
		CourseNo = courseNo;
	}
	@Column(name="courseName",length=30,nullable=true)
	public String getCourseName() {
		return CourseName;
	}
	public void setCourseName(String courseName) {
		CourseName = courseName;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
